From 5b633aeb249902d98d1cc79cc2d7f980065a1a31 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 28 Apr 1994 05:44:54 +0000 Subject: [PATCH] (child_setup): Test PRIO_PROCESS, as in sys_subshell. --- src/callproc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/callproc.c b/src/callproc.c index 9836b65f529..d612a7f94c1 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -558,11 +558,13 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir) int pid = getpid (); +#ifdef PRIO_PROCESS { extern int emacs_priority; nice (- emacs_priority); } +#endif #ifdef subprocesses /* Close Emacs's descriptors that this process should not have. */ -- 2.30.2